package cn.lefull.jenkins;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @auther: qijiang
 * @date: 2018/12/3 15:02
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping(value = "/getInfo", produces = "application/json;charset=UTF-8")
    public String getInfo() {
        System.out.println(2);
        return "hello-info";
    }
}